Optimal. Leaf size=48 \[ \frac{B \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{b^{3/2}}-\frac{A+B x}{b \sqrt{a+b x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0201247, antiderivative size = 48, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {778, 217, 206} \[ \frac{B \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{b^{3/2}}-\frac{A+B x}{b \sqrt{a+b x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 778
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{x (A+B x)}{\left (a+b x^2\right )^{3/2}} \, dx &=-\frac{A+B x}{b \sqrt{a+b x^2}}+\frac{B \int \frac{1}{\sqrt{a+b x^2}} \, dx}{b}\\ &=-\frac{A+B x}{b \sqrt{a+b x^2}}+\frac{B \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x}{\sqrt{a+b x^2}}\right )}{b}\\ &=-\frac{A+B x}{b \sqrt{a+b x^2}}+\frac{B \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{b^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.0536328, size = 64, normalized size = 1.33 \[ \frac{\sqrt{a} B \sqrt{\frac{b x^2}{a}+1} \sinh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )-\sqrt{b} (A+B x)}{b^{3/2} \sqrt{a+b x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 54, normalized size = 1.1 \begin{align*} -{\frac{Bx}{b}{\frac{1}{\sqrt{b{x}^{2}+a}}}}+{B\ln \left ( x\sqrt{b}+\sqrt{b{x}^{2}+a} \right ){b}^{-{\frac{3}{2}}}}-{\frac{A}{b}{\frac{1}{\sqrt{b{x}^{2}+a}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.58117, size = 336, normalized size = 7. \begin{align*} \left [\frac{{\left (B b x^{2} + B a\right )} \sqrt{b} \log \left (-2 \, b x^{2} - 2 \, \sqrt{b x^{2} + a} \sqrt{b} x - a\right ) - 2 \,{\left (B b x + A b\right )} \sqrt{b x^{2} + a}}{2 \,{\left (b^{3} x^{2} + a b^{2}\right )}}, -\frac{{\left (B b x^{2} + B a\right )} \sqrt{-b} \arctan \left (\frac{\sqrt{-b} x}{\sqrt{b x^{2} + a}}\right ) +{\left (B b x + A b\right )} \sqrt{b x^{2} + a}}{b^{3} x^{2} + a b^{2}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 4.69385, size = 66, normalized size = 1.38 \begin{align*} A \left (\begin{cases} - \frac{1}{b \sqrt{a + b x^{2}}} & \text{for}\: b \neq 0 \\\frac{x^{2}}{2 a^{\frac{3}{2}}} & \text{otherwise} \end{cases}\right ) + B \left (\frac{\operatorname{asinh}{\left (\frac{\sqrt{b} x}{\sqrt{a}} \right )}}{b^{\frac{3}{2}}} - \frac{x}{\sqrt{a} b \sqrt{1 + \frac{b x^{2}}{a}}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.19577, size = 65, normalized size = 1.35 \begin{align*} -\frac{\frac{B x}{b} + \frac{A}{b}}{\sqrt{b x^{2} + a}} - \frac{B \log \left ({\left | -\sqrt{b} x + \sqrt{b x^{2} + a} \right |}\right )}{b^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]